Updates to blktap driver and user code.
authorakw27@arcadians.cl.cam.ac.uk <akw27@arcadians.cl.cam.ac.uk>
Sun, 4 Sep 2005 21:19:44 +0000 (21:19 +0000)
committerakw27@arcadians.cl.cam.ac.uk <akw27@arcadians.cl.cam.ac.uk>
Sun, 4 Sep 2005 21:19:44 +0000 (21:19 +0000)
commit3e2b1c87ba74e8fa69374cda8cf3a110f242e56c
treea5523ce591530b2070a3a7e2668dfc9ff2517fd9
parent3ebd771dc380240d3992dbf1960357fc1fdd07ec
Updates to blktap driver and user code.

Mostly this makes the tap code work again with all of the changes that
have happened to the block drivers recently.  We now use a shared page
per VBD (to the driver), and handle control information through the
store.  The taplib interfaces have changed to be based around per-vbd
data structures that you can attach arbitrary handlers for.

There is also initial code for a user-level blockback driver, which
aims to get around the use of loopbacks for file-based vbds.  Still
plenty of work to do here -- this is a working incremental checkin and
I'm away from this for the next four weeks.

Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
22 files changed:
.hgignore
linux-2.6-xen-sparse/drivers/xen/blktap/Makefile
linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c
linux-2.6-xen-sparse/drivers/xen/blktap/blktap_controlmsg.c [deleted file]
linux-2.6-xen-sparse/drivers/xen/blktap/blktap_datapath.c [deleted file]
linux-2.6-xen-sparse/drivers/xen/blktap/blktap_userdev.c [deleted file]
linux-2.6-xen-sparse/drivers/xen/blktap/common.h [new file with mode: 0644]
linux-2.6-xen-sparse/drivers/xen/blktap/interface.c [new file with mode: 0644]
linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c [new file with mode: 0644]
linux-2.6-xen-sparse/mm/memory.c
tools/blktap/Makefile
tools/blktap/README.sept05 [new file with mode: 0644]
tools/blktap/blkdump.c
tools/blktap/blkif.c [new file with mode: 0644]
tools/blktap/blktaplib.c
tools/blktap/blktaplib.h
tools/blktap/list.h [new file with mode: 0644]
tools/blktap/ublkback/Makefile [new file with mode: 0644]
tools/blktap/ublkback/ublkback.c [new file with mode: 0644]
tools/blktap/ublkback/ublkbacklib.c [new file with mode: 0644]
tools/blktap/ublkback/ublkbacklib.h [new file with mode: 0644]
tools/blktap/xenbus.c [new file with mode: 0644]